package io.renren.modules.work.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.sys.entity.SysUserEntity;
import io.renren.modules.work.entity.ScPurEntity;
import io.swagger.models.auth.In;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

/**
 * 采购单
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-05-08 23:01:13
 */
public interface ScPurService extends IService<ScPurEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R commitProject(String params, SysUserEntity user);

    /**
     * 确认收货
     */
    R confirmRg(String[] purids);

    R updatePur(String params);

    void generatePur(String consumablesid);

    R bindPur(String purid);

    R importExcel(MultipartFile file) throws IOException;
}

